
<meta charset="utf-8">
<style>
        *{
            padding: 0;
            margin: 0;
        }
        .box img:nth-child(odd){
            width:180px;
        }
        .box img:nth-child(even){
            width:200px;
        }
        .box{
            position: relative;
            width:1000px;
            margin: 10px auto;
        }
        .box img{
            position: absolute;
            background: white;
            padding: 10px;
            border:1px solid rgb(228, 227, 227);
            z-index: 0;
            transition: all .6s ease-in-out;
        }
        #box img:hover{
            transform: rotate(0deg) scale(1.5);
            box-shadow: 4px 4px 8px rgb(221, 220, 220);
            z-index: 2;
        }
        img:first-child{
            top:100px;
            left:60px;
            transform: rotate(30deg);
           
        }
        img:nth-child(2){
            top:200px;
            left:120px;
            transform: rotate(-10deg);
        }
        img:nth-child(3){
            top:300px;
            left:320px;
            transform: rotate(-30deg);
        }
        img:nth-child(4){
            top:350px;
            left:650px;
            transform: rotate(45deg);
        }
        img:nth-child(5){
            top:200px;
            left:650px;
            transform: rotate(10deg);
        }
        img:nth-child(6){
            top:50px;
            left:560px;
            transform: rotate(-20deg);
        }
        img:nth-child(7){
            top:100px;
            left:260px;
            transform: rotate(-30deg);
        }
        img:nth-child(8){
            top:330px;
            left:110px;
            transform: rotate(20deg);
        }
        img:nth-child(9){
            top:60px;
            left:340px;
            transform: rotate(20deg);
        }
        img:nth-child(10){
            top:200px;
            left:440px;
            transform: rotate(30deg);
        }
    </style>
    
    <div class="box" id="box">
        <img src="image/1.jpg">
        <img src="image/2.jpg">
        <img src="image/3.jpg">
        <img src="image/4.jpg">
        <img src="image/5.jpg">
        <img src="image/6.jpg">
        <img src="image/7.jpg">
        <img src="image/8.jpg">
        <img src="image/9.jpg">
        <img src="image/10.jpg">
    </div>
    